Skip to content

Add unitsml Python package and installed-wheel CI - #2

Closed
suleman-uzair wants to merge 4 commits into
mainfrom
feat/initial-delivery-20261112
Closed

suleman-uzair wants to merge 4 commits into
mainfrom
feat/initial-delivery-20261112

Conversation

@suleman-uzair

Copy link
Copy Markdown
Member

This PR adds the Python package for exact UnitsML operations through the canonical Rust engine. It preserves the qualified source history and adds source-pinned installed-wheel CI.

  • Build and test fresh wheels using repository-owned scripts.
  • Keep native source, data and license provenance explicit.

Validation: 6 Python files pass syntax parsing locally. Platform builds and installed fixture checks run in CI; native-source publication and any admitted data-pin updates remain merge prerequisites. No registry publication is included.

suleman-uzair added 4 commits November 11, 2026 04:40
Adds the CI script (native build, wheel, fresh install, installed tests), its workflow, ci/native-source.json with public pins, CI working-folder ignores and, where missing, the licence file.
scripts/build-native-receipt.py builds the pinned clean native source and records the source commit, Cargo.lock hash, platform, compiler, invocation and library hash. scripts/build-wheel.py --build-receipt checks that receipt against the pins, the host platform, the Cargo metadata and the actual binary. Without a receipt, the fixed library_sha256 pin is still enforced. The packaged build-info records which path was used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant